package com.slx.student_attendance_record_I;

import org.junit.Assert;
import org.junit.Test;

public class SolutionTest {

    @Test
    public void checkRecord() {
        Solution s  = new Solution();
        Object[][] data = {
                {"PPALLP", true},
                {"PPALLL", false},
        };

        for (Object[] d : data) {
            Assert.assertEquals(d[1], s.checkRecord((String) d[0]));
        }
    }

}